Simplicial complexes for measuring semantics of concepcts from natural languages?
Statement
In a nice paper describing some of the encodings of the semantics in large language models, simplices occur: Here is a quote from their abstract: "We find a remarkably simple structure: simple categorical concepts are represented as simplices, hierarchically related concepts are orthogonal in a sense we make precise, and (in consequence) complex concepts are represented as polytopes constructed from direct sums of simplices, reflecting the hierarchical structure."
Here is an image illustrating this quote from their paper:
I asked a similar question a few weeks earlier which I deleted, but now when coming back to read this paper it occured to me that one could use the language / tools of algebraic topology such as simplicial complexes and homology to compare / measure the meaning/semantic of "real world" objects such as natural language maybe for explicitly reasoning in artificial intelligence about "complex concepts".
For instance the first Betti number of a "complex concepts" would be the number of the connected components of the simplicial complex. One could imagine using SageMath and a vocabulary of words, that one constructs a toy database of words and corresponding Euler …
Posed by Orges Leka · simplicial-stuff, simplicial-complexes, applications, artificial-intelligence
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-476449.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-476449.lean
import Mathlib /-! # Simplicial complexes for measuring semantics of concepcts from natural languages? Source: https://mathoverflow.net/questions/476449 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_476449 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_476449