<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "https://biss.pensoft.net/nlm/tax-treatment-NS0.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tp="http://www.plazi.org/taxpub" article-type="research-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">63</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:0E0032F4-55AE-5263-8B3C-F4DD637C30C2</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">Biodiversity Information Science and Standards</journal-title>
        <abbrev-journal-title xml:lang="en">BISS</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2535-0897</issn>
      <publisher>
        <publisher-name>Pensoft Publishers</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/biss.10.183432</article-id>
      <article-id pub-id-type="publisher-id">183432</article-id>
      <article-id pub-id-type="manuscript">29275</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Conference Abstract</subject>
        </subj-group>
        <subj-group subj-group-type="conference-part">
          <subject>6960773 - Contributed Oral presentations</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>Artificial intelligence</subject>
          <subject>Bioacoustics</subject>
          <subject>Biodiversity &amp; Conservation</subject>
        </subj-group>
        <subj-group subj-group-type="geographical_area">
          <subject>Africa</subject>
          <subject>Americas</subject>
          <subject>Asia</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Fighting Poaching through High-Precision Real-Time Gunshot Detection Using Deep Learning and SAIL</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Dhar</surname>
            <given-names>Naveen</given-names>
          </name>
          <email xlink:type="simple">naveendhar8030@gmail.com</email>
          <uri content-type="orcid">https://orcid.org/0009-0009-4061-5767</uri>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">High Tech High Mesa, San Diego, United States of America</addr-line>
        <institution>High Tech High Mesa</institution>
        <addr-line content-type="city">San Diego</addr-line>
        <country>United States of America</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Naveen Dhar (<email xlink:type="simple">naveendhar8030@gmail.com</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>16</day>
        <month>03</month>
        <year>2026</year>
      </pub-date>
      <volume>10</volume>
      <elocation-id>e183432</elocation-id>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/2153D965-58F8-510D-B1D8-BDE8104610C8">2153D965-58F8-510D-B1D8-BDE8104610C8</uri>
      <permissions>
        <copyright-statement>Naveen Dhar</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p>
          <bold>Introduction</bold>
        </p>
        <p>Passive acoustic monitoring (PAM), thanks to the technological advancement of autonomous recording units (ARUs) (<xref ref-type="bibr" rid="B13743174">Prince et al. 2019</xref>), has enabled long-term, wide-scale studies on natural and/or anthropogenic soundscapes, making it an invaluable tool for conservation (<xref ref-type="bibr" rid="B13743185">Sugai et al. 2018</xref>). Crucially, PAM can aid in detecting threats to biodiversity, such as poaching, by listening for target acoustic signatures. Array-based PAM offers benefits over other poaching monitoring methods, such as unmanned aerial vehicle or camera trap monitoring: lower costs, wider detection fields, and longer-term deployments (<xref ref-type="bibr" rid="B13618373">Lynam et al. 2025</xref>). Real-time detection can enable immediate intervention, making it a goal of the Wildlife Crime Technology Project since 2015 (<xref ref-type="bibr" rid="B13618391">World Wildlife Fund 2022</xref>). However, most acoustic detection of poaching, including existing literature using deep learning for this task, consistently mentions challenges with false positives and employs large fine-tuned models with computational costs better suited for retrospective studies (<xref ref-type="bibr" rid="B13618399">Katsis et al. 2022</xref>, <xref ref-type="bibr" rid="B13618411">Vu et al. 2024</xref>). Our research developed a lightweight deep neural network suitable for on-board, real-time processing and a sensor integration function aiming to reduce false positive rates (FPRs).</p>
        <p>
          <bold>Methods</bold>
        </p>
        <p>A pre-partitioned open-source dataset of 35,980 four-second audio recordings from Belizean rainforests (<xref ref-type="bibr" rid="B13618399">Katsis et al. 2022</xref>) was used for training and validation. A test set from Vietnamese rainforests (<xref ref-type="bibr" rid="B13618411">Vu et al. 2024</xref>), comprising 129 background recordings and 19 gunshots, was used for further testing. Waveforms were converted to log-mel spectrograms, an image-like representation of audio displaying the range of frequencies of a signal as it varies with time. Extensive waveform augmentations were applied to the dataset during training to improve the detector's generalizability to new environments. These augmentations included shifting the signal's position in time, injecting background noise, and more.</p>
        <p>The lightweight neural network, or model, was designed with convolutional layers and recurrent units for efficient gunshot feature extraction and detection. The final model contained approximately 935k parameters and was trained for 40 epochs.</p>
        <p>Many false positives occur because common rainforest sounds resemble gunshots in their frequency-time features (<xref ref-type="bibr" rid="B13618399">Katsis et al. 2022</xref>, <xref ref-type="bibr" rid="B13618411">Vu et al. 2024</xref>). However, gunshot signals propagate farther. Cross-device communication, or the leveraging of information from multiple acoustic sensors, is proposed and investigated as a novel way to reduce the aforementioned false positives in acoustic poaching detection. The proposed Sensor Analysis and Integration Layer, or SAIL function, described in Fig. <xref ref-type="fig" rid="F13603953">1</xref>, was developed to integrate predictions from three or more sensors by penalizing isolated confident predictions while boosting sensor agreement.</p>
        <p>This was validated through acoustic propagation simulations on the Vietnamese dataset, where each waveform had three copies with random augmentations mimicking distance-dependent attenuation, emulating a three-sensor array. The model generated confidence scores for each copy, which were then fed into SAIL to create a final probability. Across the 1000 simulation runs performed on the dataset, Wilcoxon signed-rank tests evaluated whether median differences in mean FPR per-file exceeded zero.</p>
        <p>
          <bold>Results</bold>
        </p>
        <p>Model performance was evaluated on the validation partition of the Belizean dataset. A precision-recall curve (Fig. <xref ref-type="fig" rid="F13604284">2</xref>) showed strong generalization and 0.96 average precision. Table <xref ref-type="table" rid="T13604604">1</xref> compares the lightweight model against the leading open-source rainforest gunshot detector, or the fine-tuned ResNet18 from <xref ref-type="bibr" rid="B13618399">Katsis et al. (2022)</xref>. Our lightweight model is 11MB and compresses to 964KB via TensorflowLite serialization. Table <xref ref-type="table" rid="T13604605">2</xref> summarizes SAIL simulation statistics, reporting mean FPR differences and Wilcoxon p-values alongside performance metrics. SAIL produced significant FPR reduction with minimal (1%) recall reduction.</p>
        <p>
          <bold>Conclusion</bold>
        </p>
        <p>While not directly extendable to efficacy in the field, statistical evaluation demonstrates that SAIL consistently reduces FPR compared to simple inference across a wide variety of simulated sensor arrays. The lightweight gunshot detector generalizes to the validation dataset at 935k parameters, retaining 94% of performance (validation F1 at 95% recall) at a fraction of the leading work's model size. Overall, efficient deep learning and SAIL present a promising approach towards cost-effective real-time poaching detection.</p>
      </abstract>
      <kwd-group>
        <label>Keywords</label>
        <kwd>passive acoustic monitoring</kwd>
        <kwd>AI on the edge</kwd>
        <kwd>IoT</kwd>
        <kwd>poaching detection</kwd>
        <kwd>autonomous recording units</kwd>
        <kwd>rainforest conservation</kwd>
      </kwd-group>
      <counts>
        <fig-count count="2"/>
        <table-count count="2"/>
        <ref-count count="6"/>
      </counts>
    </article-meta>
    <notes>
      <sec sec-type="Presenting author">
        <title>Presenting author</title>
        <p>Naveen Dhar</p>
      </sec>
      <sec sec-type="Presented at">
        <title>Presented at</title>
        <p>Living Data 2025 </p>
      </sec>
    </notes>
  </front>
  
  <back>
    <sec sec-type="Conflicts of interest">
      <title>Conflicts of interest</title>
      <p>No conflict of interest to declare</p>
      <p>Disclaimer: This article is (co-)authored by any of the Editors-in-Chief, Managing Editors or their deputies in this journal.</p>
    </sec>
    <ref-list>
      <title>References</title>
      <ref id="B13618399">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Katsis</surname>
              <given-names>Lydia K. D.</given-names>
            </name>
            <name name-style="western">
              <surname>Hill</surname>
              <given-names>Andrew P.</given-names>
            </name>
            <name name-style="western">
              <surname>Piña-Covarrubias</surname>
              <given-names>Evelyn and others</given-names>
            </name>
          </person-group>
          <year>2022</year>
          <article-title>Automated detection of gunshots in tropical forests using convolutional neural networks</article-title>
          <source>Ecological Indicators</source>
          <volume>141</volume>
          <pub-id pub-id-type="doi">10.1016/j.ecolind.2022.109128</pub-id>
        </element-citation>
      </ref>
      <ref id="B13618373">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lynam</surname>
              <given-names>Antony John</given-names>
            </name>
            <name name-style="western">
              <surname>Cronin</surname>
              <given-names>Drew T.</given-names>
            </name>
            <name name-style="western">
              <surname>Wich</surname>
              <given-names>Serge A.</given-names>
            </name>
            <name name-style="western">
              <surname>Steward</surname>
              <given-names>Jordan</given-names>
            </name>
            <name name-style="western">
              <surname>Howe</surname>
              <given-names>Andrew, and others</given-names>
            </name>
          </person-group>
          <year>2025</year>
          <article-title>The rising tide of conservation technology: empowering the fight against poaching and unsustainable wildlife harvest</article-title>
          <source>Frontiers in Ecology and Evolution</source>
          <volume>13</volume>
          <pub-id pub-id-type="doi">10.3389/fevo.2025.1527976</pub-id>
        </element-citation>
      </ref>
      <ref id="B13743174">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Prince</surname>
              <given-names>Peter</given-names>
            </name>
            <name name-style="western">
              <surname>Hill</surname>
              <given-names>Andrew</given-names>
            </name>
            <name name-style="western">
              <surname>Piña Covarrubias</surname>
              <given-names>Evelyn</given-names>
            </name>
            <name name-style="western">
              <surname>Doncaster</surname>
              <given-names>Patrick</given-names>
            </name>
            <name name-style="western">
              <surname>Snaddon</surname>
              <given-names>Jake L.</given-names>
            </name>
            <name name-style="western">
              <surname>Rogers</surname>
              <given-names>Alex</given-names>
            </name>
            <etal/>
          </person-group>
          <year>2019</year>
          <article-title>Deploying Acoustic Detection Algorithms on Low-Cost, Open-Source Acoustic Sensors for Environmental Monitoring</article-title>
          <source>Sensors</source>
          <volume>19</volume>
          <issue>3</issue>
          <pub-id pub-id-type="doi">10.3390/s19030553</pub-id>
        </element-citation>
      </ref>
      <ref id="B13743185">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sugai</surname>
              <given-names>Larissa Sayuri Moreira</given-names>
            </name>
            <name name-style="western">
              <surname>Silva</surname>
              <given-names>Thiago Sanna Freire</given-names>
            </name>
            <name name-style="western">
              <surname>Ribeiro</surname>
              <given-names>José Wagner</given-names>
            </name>
            <name name-style="western">
              <surname>Llusia</surname>
              <given-names>Diego</given-names>
            </name>
            <etal/>
          </person-group>
          <year>2018</year>
          <article-title>Terrestrial Passive Acoustic Monitoring: Review and Perspectives</article-title>
          <source>BioScience</source>
          <volume>69</volume>
          <issue>1</issue>
          <fpage>15 </fpage>
          <lpage>25</lpage>
          <pub-id pub-id-type="doi">10.1093/biosci/biy147</pub-id>
        </element-citation>
      </ref>
      <ref id="B13618411">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Vu</surname>
              <given-names>Thinh Tien</given-names>
            </name>
            <name name-style="western">
              <surname>Phan</surname>
              <given-names>Dai Viet</given-names>
            </name>
            <name name-style="western">
              <surname>Le</surname>
              <given-names>Thai Son</given-names>
            </name>
            <name name-style="western">
              <surname>Clink</surname>
              <given-names>Dena Jane</given-names>
            </name>
          </person-group>
          <year>2024</year>
          <article-title>Investigating hunting in a protected area in Southeast Asia using passive acoustic monitoring with mobile smartphones and deep learning</article-title>
          <source>Ecological Indicators</source>
          <volume>167</volume>
          <pub-id pub-id-type="doi">10.1016/j.ecolind.2024.112501</pub-id>
        </element-citation>
      </ref>
      <ref id="B13618391">
        <element-citation publication-type="website">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fund</surname>
              <given-names>World Wildlife</given-names>
            </name>
          </person-group>
          <article-title>Wildlife Crime Technology Project</article-title>
          <uri>https://www.worldwildlife.org/our-work/wildlife/wildlife-crime/wildlife-crime-technology-project/</uri>
        </element-citation>
      </ref>
    </ref-list>
  </back>
  <floats-group>
    <fig id="F13603953" position="float" orientation="portrait">
      <object-id content-type="arpha">3ACC5642-9395-5E28-9A0F-BFF60407F82F</object-id>
      
      <label>Figure 1.</label>
      <caption>
        <p>A 3D graph of the SAIL function with n=3, k=10, and m=0.5. The x and y values (sensor predictions p1 and p2) are constrained from 0 to 1. In order to visualize the function, p3 was fixed with a value of 0.5.</p>
        <p>"Sensor Analysis and Integration Layer (SAIL) Graph and Equation" by Naveen Dhar is licensed under <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</ext-link></p>
      </caption>
      <graphic xlink:href="biss-10-e183432-g001.png" position="float" id="oo_1497535.png" orientation="portrait" xlink:type="simple">
        <uri content-type="original_file">https://binary.pensoft.net/fig/1497535</uri>
      </graphic>
    </fig>
    <fig id="F13604284" position="float" orientation="portrait">
      <object-id content-type="arpha">0D9F772C-B859-5993-89DE-07B412AF0206</object-id>
      
      <label>Figure 2.</label>
      <caption>
        <p>Precision-recall curve of the lightweight model on the validation partition of the Belizean dataset.</p>
        <p>"Lightweight Rainforest Gunshot Detection Network PR-Curve" by Naveen Dhar is licensed under <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</ext-link></p>
      </caption>
      <graphic xlink:href="biss-10-e183432-g002.png" position="float" id="oo_1499342.png" orientation="portrait" xlink:type="simple">
        <uri content-type="original_file">https://binary.pensoft.net/fig/1499342</uri>
      </graphic>
    </fig>
    <table-wrap id="T13604604" position="float" orientation="portrait">
      <label>Table 1.</label>
      <caption>
        <p>Comparing the performance and model file size of the leading deep-learning classifier for gunshot detection on the Belizean dataset with the best-performing model developed in this study. F1 is the harmonic mean between precision and recall. Distinct F1 denotes the best F1 on the spatially distinct Vietnamese dataset.</p>
      </caption>
      <table rules="all">
        <tbody>
          <tr>
            <th rowspan="1" colspan="1">Classifier</th>
            <th rowspan="1" colspan="1">F1 (Best)</th>
            <th rowspan="1" colspan="1">F1 @ 95% Recall</th>
            <th rowspan="1" colspan="1">F1 (Distinct)</th>
            <th rowspan="1" colspan="1">Model Size</th>
            <th rowspan="1" colspan="1">Parameters</th>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <td rowspan="1" colspan="1">Katsis et al. (ResNet18)</td>
            <td rowspan="1" colspan="1">Unknown</td>
            <td rowspan="1" colspan="1">0.89</td>
            <td rowspan="1" colspan="1">Unknown</td>
            <td rowspan="1" colspan="1">87 MB</td>
            <td rowspan="1" colspan="1">≈ 11.7 M</td>
          </tr>
          <tr>
            <td rowspan="1" colspan="1">Proposed</td>
            <td rowspan="1" colspan="1">0.91</td>
            <td rowspan="1" colspan="1">0.85</td>
            <td rowspan="1" colspan="1">0.77</td>
            <td rowspan="1" colspan="1">11 MB</td>
            <td rowspan="1" colspan="1">935 K</td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
    <table-wrap id="T13604605" position="float" orientation="portrait">
      <label>Table 2.</label>
      <caption>
        <p>Summary of Wilcoxon statistical testing of SAIL simulation alongside performance metrics, comparing inference and SAIL across the 1000 simulations.</p>
      </caption>
      <table rules="all">
        <tbody>
          <tr>
            <td rowspan="1" colspan="1">
              <bold>Metric</bold>
            </td>
            <td rowspan="1" colspan="1">
              <bold>SAIL Mean (Per-run average)</bold>
            </td>
            <td rowspan="1" colspan="1">
              <bold>Inference Mean (Per-run average)</bold>
            </td>
            <td rowspan="1" colspan="1">
              <bold>Mean Per-File Difference (Inference - SAIL)</bold>
            </td>
            <td rowspan="1" colspan="1">
              <bold>Wilcoxon p-value</bold>
            </td>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <td rowspan="1" colspan="1">FPR Difference (Inference - SAIL)</td>
            <td rowspan="1" colspan="1">-</td>
            <td rowspan="1" colspan="1">-</td>
            <td rowspan="1" colspan="1">0.024</td>
            <td rowspan="1" colspan="1">0.04</td>
          </tr>
          <tr>
            <td rowspan="1" colspan="1">Recall</td>
            <td rowspan="1" colspan="1">0.616</td>
            <td rowspan="1" colspan="1">0.684</td>
            <td rowspan="1" colspan="1">-</td>
            <td rowspan="1" colspan="1">-</td>
          </tr>
          <tr>
            <td rowspan="1" colspan="1">F1</td>
            <td rowspan="1" colspan="1">0.762</td>
            <td rowspan="1" colspan="1">0.743</td>
            <td rowspan="1" colspan="1">-</td>
            <td rowspan="1" colspan="1">-</td>
          </tr>
          <tr>
            <td rowspan="1" colspan="1">Precision</td>
            <td rowspan="1" colspan="1">1.000</td>
            <td rowspan="1" colspan="1">0.813</td>
            <td rowspan="1" colspan="1">-</td>
            <td rowspan="1" colspan="1">-</td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
  </floats-group>
</article>
