惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
博客园 - 聂微东
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
IT之家
IT之家
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
I
InfoQ
爱范儿
爱范儿
Vercel News
Vercel News
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
U
Unit 42
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
F
Fortinet All Blogs
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - elly99-AI/MarCognity-AI: A research framework fo...
elly-99 · 2026-04-29 · via Hacker News - Newest: "AI"

A modular framework for structured analysis and source-grounded verification in LLM-based systems

License: Apache 2.0


Table of Contents


Overview

MarCognity-AI is a modular open-source framework designed to analyze limitations of LLM-based information processing and introduce structured verification layers.

The system:

  • Produces structured outputs

  • Decomposes responses into individual claims

  • Verifies claims against retrieved sources

  • Evaluates semantic coherence

  • Generates structured analytical reports

The framework is intended for methodological experimentation and reproducibility.


Research Motivation

Large Language Models optimize linguistic probability — not factual truth.

MarCognity-AI investigates the following core question:

How can claim-level uncertainty be made observable in LLM-generated outputs?

This framework does not claim to solve LLM hallucinations. Instead, it exposes and documents the failure modes of artificial metacognition in a reproducible way.

The following cognitive architecture is composed of independent modules.

Modules and Functions

Module Function
Problem Classification Automatic input type detection
Academic Prompting Structured multidisciplinary prompting
Scientific Retrieval Asynchronous retrieval from open-access sources
Semantic Evaluation Logical and semantic scoring of responses
Skeptical Agent Claim-by-claim verification against sources
Factual Grounding Evidence extraction from retrieved sources
FAISS Memory Archiving and comparison of past outputs
Cognitive Visualization Structured conceptual representation

Core Capabilities

  • LLM-assisted scientific generation
  • Source retrieval and integration (arXiv, PubMed, Zenodo, OpenAlex)
  • Multilevel metacognitive evaluation
  • Sentence-level epistemic verification
  • Ethical risk and bias analysis
  • Persistent semantic memory (FAISS)
  • Markdown-exportable reflective reports

Structural Limitation & Research Scope

MarCognity-AI is an exploratory research framework and is not intended for production use.

During development, a recurring structural limitation emerged: LLM-based metacognitive layers reliably optimize for linguistic coherence but fail to surface epistemic uncertainty as an explicit signal.

In practice, the system can evaluate how an answer is written (clarity, structure, semantic alignment), yet it cannot inherently determine whether the underlying claims are genuinely known, verifiable, or epistemically justified. The model can express that a response is unclear, but not that it lacks grounded knowledge.

This collapse between linguistic coherence and epistemic awareness is not treated as a bug to be fixed, but as a structural fracture to be studied. The purpose of this framework is to expose, analyze, and document this limitation in a reproducible way.

The demo and cognitive journal included in this repository are designed to make this failure mode observable — not to present a solved system.


Early Community Interactions (Non-Endorsement)

A discussion was opened regarding the semantic mapping layer. Community members from Hugging Face and related model discussions engaged technically with the proposal.

You can explore the original threads and responses here:
🔗 Hugging Face Discussion
🔗 DeepSeek Community Thread
🔗 Google org Response Snapshot


Cross-Domain Epistemic Benchmark

To evaluate the epistemic behavior of the architecture, a cross-domain benchmark was conducted across eight scientific and technical domains.

Domains Included

  • Medicine
  • Neuroscience
  • Biology
  • Statistics
  • Linguistics
  • Computer Science
  • Physics
  • Law

The benchmark consists of 72 evaluation tasks (9 per domain).

Evaluated Configurations

Two configurations were evaluated:

  • a baseline large language model (LLM) operating without epistemic verification
  • the MarCognity-AI architecture, which integrates the metacognitive cycle and the Skeptical Agent

Each response generated by the two systems was evaluated using a structured prompt-based epistemic assessment protocol, applied by an independent LLM acting as evaluator.

The use of an LLM as independent evaluator introduces a known methodological limitation: the evaluator may share epistemic biases with the evaluated system. This constraint is acknowledged as a structural open problem in the field of LLM evaluation and is not specific to this framework.

Epistemic Reliability Metrics

  • Epistemic Score
  • Hallucination Exposure Rate
  • Evidence Support Rate
  • Overconfidence Index
  • Cautious Response Ratio
  • Contradiction Rate
  • Claim Verification Accuracy

Benchmark tasks, evaluation prompts, and results are available in the /benchmark directory.

Task Generation Pipeline

Benchmark tasks were generated using domain-specific topic files processed by the MarCognity system.

The system extracted topic names and generated explanatory scientific questions based on those topics.

The generated questions were then manually reviewed and curated to ensure clarity, conceptual diversity, and domain relevance.

The final benchmark tasks are available in the /benchmark_tasks directory.


Failure Analysis

A qualitative analysis of representative failure cases is provided in:

benchmark/failure_analysis

The analysis identifies recurring epistemic failure patterns including:

• Source ambiguity
• Context loss during claim segmentation
• Unauthorized inference
• Evaluator false negatives
• Semantic ambiguity
• Incomplete corpus of knowledge

These observations suggest the presence of an epistemic boundary in text-based verification systems.


Epistemic Boundary

Conceptual analysis of the irreducible uncertainty observed in the benchmark.

➡️ benchmark/Epistemic_Boundary.md


📚 Official Publication and Citation

The official version of the code and the full research paper have been permanently archived on Zenodo and are citable using their Digital Object Identifier (DOI).

MarCognity-AI DOI
Permanent DOI https://doi.org/10.5281/zenodo.19824045
Access Publication Full Research Paper (PDF) & Code (Zenodo)

Usage Examples

Scientific Question

Input: “Explain the role of chaperone proteins.”
Output: Response + sources + semantic score + conceptual diagram

Epistemic Verification Example

Input: “Explain quantum entanglement.” Output:

Generated response

Claim-by-claim verification

VERIFIED / EPISTEMIC FAILURE report

Reasoning based on provided sources


Quick Demo

A step-by-step execution example is available in:

marcognity_demo.ipynb

The notebook illustrates:

  • Response generation
  • Retrieval integration
  • Claim-level verification
  • Epistemic reporting

Meta LLaMA 4 Community License

It is intended for inspection and reproducibility, not interactive deployment.


Execution Options

MarCognity-AI provides two alternative execution modes:

  • Groq-based notebook (marcognity_demo.ipynb): uses Groq APIs for ultra-fast remote inference. Requires a Groq API key.

  • Local notebook (marcognity_hf_demo.ipynb): supports fully local execution via downloaded models (e.g., GGUF via Hugging Face). Ideal for offline use or environments without external API dependencies.

MarCognity-AI is model-agnostic: you can swap the reasoning core with any GGUF-compatible model to match your hardware capabilities.


Integrated AI Models

Integrated Models License Main Restrictions
meta-llama/llama-4-scout-17b-16e-instruct LLaMA 4 Community License (Meta) Research and application use allowed; must comply with Me
allenai/specter Apache 2.0 Free for commercial use with attribution
ktrapeznikov/scibert_scivocab_uncased_squad_v2 Apache 2.0 Free for commercial use with attribution
Helsinki-NLP (OPUS-MT models on HuggingFace) CC-BY-4.0 Free use with mandatory citation
RandomForest Model None (classic algorithm) No license restrictions; depends on data used
CrossEncoder (DeBERTa-based) Varies (often MIT or Apache 2.0) Free use if open license is respected

Note: Llama 4 Maverick was used for the cross-domain benchmark evaluation. Subsequent development phases use meta-llama/llama-4-scout-17b-16e-instruct due to API availability constraints.


How to Contribute

Got ideas, suggestions, or want to improve a feature?

  1. Fork the repository
  2. Create a branch (git checkout -b improvement)
  3. Modify .py or .ipynb files
  4. To run this project, you need a Groq API key
  5. Open a pull request with a clear description

See the CONTRIBUTING.md file for contribution guidelines.


License

Released under the Apache 2.0 License. Third-party integrated models follow their respective licenses.

Contributions are welcome! If you have additional examples or improvements, please feel free to open a pull request or report an issue.