SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2024.findings-emnlp.944 · EMNLP Findings · 2024

Multi-label Sequential Sentence Classification via Large Language Model

Lecheng Zheng, Mengfei Lan, Shufan Ming, Halil Kilicoglu

Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2024.findings-emnlp.944.json · badge: /api/ran/2024.findings-emnlp.944.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jind11/HSLN-Joint-Sentence-Classification canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
jacklxc/ScientificDiscourseTagging canonical (classifier label)
classifier basis: census
2 ran · 1 no recorded run
FunctionStatusWhere it lives
from_BIO_ind Ran
ran on a synthesized input
jacklxc/ScientificDiscourseTagging/util.py
code served (permissive licence) · get_code("3a9c5108cf233664")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - BIO_pred: list of integers (BIO label indices)
# - BIO_target: list of integers (BIO label indices)
# - indices: dict mapping BIO_label strings to BIO_index integers

# The function iterates over indices.items(), checks if BIO_label starts with 'I_' or 'B_',
# extracts the label part, and builds a mapping table from BIO_index to original label indices.
# Then it maps BIO_pred and BIO_target using this table.

# Create a small example:
# BIO labels: 'B_PER' (index 0), 'I_PER' (index 1), 'B_LOC' (index 2), 'I_LOC' (index 3), 'O' (index 4)

indices = {
    'B_PER': 0,
    'I_PER': 1,
    'B_LOC': 2,
    'I_LOC': 3,
    'O': 4
}

# BIO_pred and BIO_target are lists of indices into the indices dict
BIO_pred = [0, 1, 1, 2, 3, 4]
BIO_target = [0, 0, 1, 2, 4, 4]

ARGS = {
    'BIO_pred': BIO_pred,
    'BIO_target': BIO_target,
    'indices': indices
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_char_vocab Ran
ran on a synthesized input
jind11/HSLN-Joint-Sentence-Classification/model/data_utils.py
code served (permissive licence) · get_code("d995f6fe6fd9842a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned set. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a dataset that is an iterable yielding tuples of (sentences, tags)
# where sentences is an iterable of sentences, and each sentence is an iterable of words,
# and each word is a string (iterable of characters)

# Create a simple dataset structure
dataset = [
    (
        [
            ["hello", "world"],
            ["foo", "bar"]
        ],
        ["TAG1", "TAG2"]
    ),
    (
        [
            ["python", "code"],
            ["test", "data"]
        ],
        ["TAG3", "TAG4"]
    )
]

ARGS = {
    "dataset": dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_logger Ran
ran; our contract draft was wrong, not the code
jind11/HSLN-Joint-Sentence-Classification/model/general_utils.py
code served (permissive licence) · get_code("75ed1ef1f8c3d22b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Logger. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
import tempfile
import os

# Create a temporary file for logging
temp_dir = tempfile.gettempdir()
log_filename = os.path.join(temp_dir, 'test_log.txt')

ARGS = {
    'filename': log_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_vocabs Ran
ran on a synthesized input
jind11/HSLN-Joint-Sentence-Classification/model/data_utils.py
code served (permissive licence) · get_code("f52141cb2c938800")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Create a minimal dataset class that behaves like the function expects
class MinimalDataset:
    def __init__(self, sentences, tags):
        self.sentences = sentences
        self.tags = tags
    
    def __iter__(self):
        # Yields (sentences, tags) tuples
        yield (self.sentences, self.tags)

# Create sample data
# sentences is a list of lists of words (tokens)
sentences_1 = [
    ["hello", "world"],
    ["foo", "bar", "baz"]
]
tags_1 = ["noun", "verb", "adj"]

sentences_2 = [
    ["test", "data"],
    ["more", "words"]
]
tags_2 = ["noun", "noun", "verb"]

# Create dataset instances
dataset_1 = MinimalDataset(sentences_1, tags_1)
dataset_2 = MinimalDataset(sentences_2, tags_2)

# Create the datasets list
datasets = [dataset_1, dataset_2]

ARGS = {
    "datasets": datasets
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_wordvec_vocab Ran
ran on a synthesized input
jind11/HSLN-Joint-Sentence-Classification/model/data_utils.py
code served (permissive licence) · get_code("a6cf86f121f5dcfa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned set. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary GloVe-like file with sample word vectors
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_filename = temp_file.name

# Write sample GloVe format data (word followed by vector values)
sample_vectors = [
    "the 0.1 0.2 0.3 0.4 0.5",
    "hello 0.6 0.7 0.8 0.9 1.0",
    "world 1.1 1.2 1.3 1.4 1.5",
    "python 1.6 1.7 1.8 1.9 2.0",
    "code 2.1 2.2 2.3 2.4 2.5",
]

for line in sample_vectors:
    temp_file.write(line + '\n')

temp_file.close()

ARGS = {
    'filename': temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_BIO Ran
ran on a synthesized input
jacklxc/ScientificDiscourseTagging/util.py
code served (permissive licence) · get_code("932ff14c40149733")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct label_seqs: a list of label sequences (paragraphs)
# Each paragraph is a list of labels
label_seqs = [
    ['person', 'person', 'location', 'none', 'organization'],
    ['none', 'person', 'location', 'location', 'none'],
    ['organization', 'organization', 'person', 'none']
]

ARGS = {
    'label_seqs': label_seqs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_passages Not yet run
unverified (harvested, no recorded run)
jacklxc/ScientificDiscourseTagging/util.py
code served (permissive licence) · get_code("184dbce487758717")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_logger 3 other papers
3 dated earlier
1509.02971 (2015-09)
Continuous control with deep reinforcement learning
1603.01354 (2016-03)
End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
1603.01360 (2016-03)
Neural Architectures for Named Entity Recognition

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Sequential sentence classification (SSC) in scientific publications is crucial for supporting downstream tasks such as fine-grained information retrieval and extractive summarization. However, current SSC methods are constrained by model size, sequence length, and single-label setting. To address these limitations, this paper proposes LLM-SSC, a large language model (LLM)-based framework for both single-and multi-label SSC tasks. Unlike previous approaches that employ smallor medium-sized language models, the proposed framework utilizes LLMs to generate SSC labels through designed prompts, which enhance task understanding by incorporating demonstrations and a query to describe the prediction target. We also present a multi-label contrastive learning loss with auto-weighting scheme, enabling the multi-label classification task. To support our multi-label SSC analysis, we introduce and release a new dataset, BIORC800, which mainly contains unstructured abstracts in the biomedical domain with manual annotations. Experiments demonstrate LLM-SSC's strong performance in SSC under both in-context learning and task-specific tuning settings. We release BIORC800 and our code at: https://github.com/ScienceNLP-Lab/LLM-SSC.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2024.findings-emnlp.944")
get_code_for_paper("2024.findings-emnlp.944")
have("2024.findings-emnlp.944")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2024.findings-emnlp.944.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2024.findings-emnlp.944.svg)](https://syntology.ai/paper/2024.findings-emnlp.944)

Connect an agent — have() is free.